package cg.studio.distribute.vote.server;

public class VoteManager
{
  private static VoteManager instance = new VoteManager();
  private static int siteCount = 100;
  
  private SiteAssigner siteAssigner = new EvenSiteAssigner( siteCount );
  private Server server = new TypicalServer();
  
  private VoteManager(){}
  
  public static VoteManager getVoteManager()
  {
    return instance;
  }
  
  public static SiteAssigner getSiteAssigner()
  {
    return getVoteManager().siteAssigner;
  }
  
  
  public static Server getServer()
  {
    return instance.server;
  }
}
